package com.yunqiao.service.api;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yunqiao.common.utils.PageUtils;
import com.yunqiao.service.api.entity.RedPacketEntity;
import com.yunqiao.service.api.vo.RedPacketEntityVo;
import com.yunqiao.service.api.vo.RedPacketVo;

import java.util.Map;

/**
 * 红包表
 *
 * @author Crocutax
 * @email wangxw725@163.com
 * @date 2019-03-02 15:03:56
 */
public interface RedPacketService extends IService<RedPacketEntity> {

    PageUtils queryPage(Map<String, Object> params);

    RedPacketVo details(Integer id);

    void saveRed(RedPacketEntityVo redPacket);
}

